<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title></title>
<link rel='stylesheet' type='text/css' href='../Public/css/style.css'>
<link rel='stylesheet' type='text/css' href='/Public/Js/DTree/dtree.css'>

<script type="text/javascript" src="/Public/Js/jquery.js"></script>
<script type="text/javascript" src="/Public/Js/DTree/dtree.js"></script>
<style>
html{overflow-x : hidden;}
</style>
</head>

<body >
<table width="200" border="0" cellpadding="0" cellspacing="6" id="left_menu">
  <tr>
    <td valign="top"><table width="100%" border="0" cellspacing="0" cellpadding="0">
      <tr>
        <td width="8" height="8"><img src="../Public/images/index1_23.gif" width="8" height="29" /></td>
        <td width="99%" align="center" background="../Public/images/index1_24.gif" style="font-size:14px; font-weight:bold">
			内容管理</notpresent>
		</td>
        <td width="8" height="8"><img src="../Public/images/index1_26.gif" width="8" height="29" /></td>
      </tr>
      <tr>
        <td background="../Public/images/index1_45.gif"></td>
        <td bgcolor="#FFFFFF" style="padding:0 2px 0 2px; vertical-align:top;height:100%;">
		<table width="200" border="0" cellpadding="0" cellspacing="5">

		  <tr>
            <td>
				<div class="dtree">

					<p style="padding:4px; margin:2px; "><a href="javascript: d.openAll();">展开全部</a> | <a href="javascript: d.closeAll();">折叠全部</a></p>

					<script type="text/javascript">
						<!--
				        var sel_id = '{$id}';
						d = new dTree('d');
						d.add(0,-1,'根栏目','__URL__/add','根栏目','main');
						<volist name="list" id="vo">
							<?php
                    			if( in_array($vo['id'],$_SESSION['user_sort']) || $_SESSION ['administrator']   )
								{
                    		?>
								d.add({$vo.id},{$vo.pid},'{$vo.name}','__URL__/index/sort_id/{$vo.id}','{$vo.name}','main');
							<?php
								}
							?>
						</volist>
						document.write(d);
						if( sel_id != '' && sel_id != '0' )
							d.openTo(sel_id,true,0);

						//-->
					</script>

				</div>

			</td>
          </tr>

        </table></td>
        <td background="../Public/images/index1_47.gif"></td>
      </tr>
      <tr>
        <td width="8" height="8"><img src="../Public/images/index1_91.gif" width="8" height="8" /></td>
        <td background="../Public/images/index1_92.gif"></td>
        <td width="8" height="8"><img src="../Public/images/index1_93.gif" width="8" height="8" /></td>
      </tr>
    </table></td>
  </tr>
</table>
<script language="javascript">
var old_item = null;
$(document).ready(function(){
	$(".item").bind('click',function(){

 		if( old_item != null )
 		{

			old_item.removeClass("current_item");
		}
		$(this).addClass("current_item");
		old_item = $(this);

	});
	if( $(".item:first")[0] != undefined && $(".item:first")[0] != null )
	{

		$(".item:first")[0].click();
	}

});
</script>

</body>
</html>